# -*- coding: utf-8 -*-

from core.serializers import CustomModelSerializer
from .models import Node


class NodeSerializer(CustomModelSerializer):
    """
    节点管理-序列化器
    """

    class Meta:
        model = Node
        fields = "__all__"
        read_only_fields = ["id"]
